/*
 * @Author: your name
 * @Date: 2022-01-04 15:45:50
 * @LastEditTime: 2022-01-25 18:11:54
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \my-app\src\App.tsx
 */
import './App.less'
import styles from '@/app.module.less'
import router from './routes'
import { Route, Routes } from 'react-router-dom'
console.log(styles);
function App() {
	return (
			<Routes>
				{router.map(item => (
					<Route key={item.key} path={item.path} element={<item.component />} />
				))}
			</Routes>
	)
}

export default App
